package cn.yhbk.web.modules.manager.Pojo.DTO.Apply;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "TbApply对象", description = "奖学金申请表")
public class TbApplyDto {

    @ApiModelProperty("申请ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("申请开始时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("申请更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("申请状态（1：材料管理员待审核，2：辅导员待审核，3：学工办待审核，已经全部通过，-1：被拒绝）")
    @TableField("status")
    private Byte status;

    @ApiModelProperty("学生ID")
    @TableField("stu_id")
    private Long stuId;

    @ApiModelProperty("学生姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("学生学号")
    @TableField("job_number")
    private Long jobNumber;

    @ApiModelProperty("备注")
    @TableField("notes")
    private String notes;

    @ApiModelProperty("奖学金id")
    @TableField("scholarship_id")
    private Long scholarshipId;

    @ApiModelProperty("拒绝原因")
    @TableField("refuse")
    private String refuse;

    @ApiModelProperty("奖学金名称")
    private String scholarshipName;

    @ApiModelProperty("奖学金类型")
    private String type;

    @ApiModelProperty("申请年份")
    private String year;

    @ApiModelProperty("平均学分绩点")
    private Double scoreGpa;

    @ApiModelProperty("加分绩点")
    private Double gpaQuality;

    @ApiModelProperty("总绩点")
    private Double gpaSum;

    @ApiModelProperty("班级")
    private String className;

}
